package com.gome.gop.controller.order;

import com.gome.gop.common.UUIDUtil;
import org.apache.commons.lang.StringUtils;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Title:
 * @Description:
 * @Author:chengcheng7
 * @Since: 2022/9/28 10:38
 * @Copyright:Copyright (c) 2018 - 2100
 * @Company:gome
 * @Version:1.1.0
 */

@Controller
@RequestMapping("/sourcePage")
public class SourcePageController {
    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String test() {
        return "pages/source/sourceAnalyseList";
    }
    
    /**
     * 源码详细信息
     * 
     * @return
     */
    @RequestMapping(value = "/sourceAnalysePage", method = RequestMethod.GET)
    public String sourceAnalyse(Model model, @Param("oldId") String oldId) {
        model.addAttribute("oldId", oldId);
        return "pages/source/sourceAnalyse";
    }
    
}
